package com.dragon.app.thread;

import java.util.Date;

public class ThreadTest {
	
	String str = "sad";

	public static void main(String[] args) {

		ThreadTest test = new ThreadTest();
		Date date = new Date();
		String a = "sfdgggv";
		int i = 0;
		Thread h = new Thread(()->System.out.println("asfajsfalj"+test+a+i));
		//a = "fsdfsgdfgsdf";S
		//test = new ThreadTest();
		//i = 12;
		
		h.start();
		System.out.println(h.isAlive());
		
		
		System.out.println(new Boolean(true).hashCode());
		System.out.println(new Boolean(true).hashCode());
		System.out.println(new Boolean(false).hashCode());
		System.out.println(new Boolean(false).hashCode());

	}

	
//	public synchronized(str) void name() {
//		synchronized (str) {
//			
//		}
//		
//	}

}
